MPanel – An empty panel with an optional title bar.


Creation: MPanel_New(caption$, x, y, pixelwidth, pixelheight)


caption$ - Title caption text. Title bar will not be drawn if this is empty.

x – Pixel X coordinate for the top left corner of the panel.

y – Pixel Y coordinate for the top left corner of the panel.

pixelwidth – The width of the panel in pixels.

pixelheight – The height of the panel in pixels.


Functions:

MPanel_Delete(index)

Deletes the panel.


MPanel_Draw(index)

Draws the panel to screen.